/*
 * RegistroBSharpChar.cpp
 *
 *  Created on: 01/10/2010
 *      Author: jijodra
 */

#include "RegistroBSharpString.h"

RegistroBSharpString::RegistroBSharpString() {
	this->clave = "";
	this->valor = -1;
}

RegistroBSharpString::RegistroBSharpString(string clave, long valor) {
	this->clave = clave;
	this->valor = valor;
}

long RegistroBSharpString::CalcularTamanio()
{
	return sizeof(this->valor) + this->clave.length();
}

RegistroBSharpString::~RegistroBSharpString() {

}
